package io.github.uicdb.et.data;

import io.github.uicdb.et.ElementalTheory;
import io.github.uicdb.et.ModBlocks;
import net.minecraft.core.HolderLookup;
import net.neoforged.neoforge.common.Tags;
import net.neoforged.neoforge.common.data.BlockTagsProvider;
import net.neoforged.neoforge.data.event.GatherDataEvent;
import org.jetbrains.annotations.NotNull;

class ETBlockTagsProvider extends BlockTagsProvider {
    public ETBlockTagsProvider(GatherDataEvent event) {
        super(event.getGenerator().getPackOutput(), event.getLookupProvider(), ElementalTheory.MODID, event.getExistingFileHelper());
    }

    @Override
    protected void addTags(HolderLookup.@NotNull Provider provider) {
        tag(Tags.Blocks.VILLAGER_FARMLANDS).add(ModBlocks.EARTH_FARMLAND.value());
    }
}
